package Tree_09.BinaryTree_01.Entity;

/*
 * @Author 罗
 * @date 2020/3/20 - 9:53 上午
 *
 */

public class HeroNode {

    public String name;
    public int id;

    @Override
    public String toString() {
        return "HeroNode{" +
                "name='" + name + '\'' +
                ", id=" + id +
                '}';
    }

    public HeroNode() {
    }

    public HeroNode(int id, String name) {
        this.name = name;
        this.id = id;
    }
}
